HW 02: Monads

“Monadify” the regular-expression compiler.

Goals

The main goals of this assignment are:

  1. Zoom out and consider the design + architecture of a compiler.
  2. Become (more) familiar with monads.

To do so, we will port our code from the previous assignment into a monadic design, then implement the different phases of the compiler.